package com.gc.gc.organ.service;

import com.gc.gc.mybatis.entity.PtOrganEntity;
import com.gc.gc.mybatis.entity.PtUserEntity;
import com.gc.gc.mybatis.flexigrid.PadingRstType;
import com.gc.gc.mybatis.flexigrid.PagingBean;
import com.gc.gc.mybatis.ztree.ZtreeEntity;
import com.gc.gc.organ.entity.OrganSearchEntity;
import com.gc.gc.user.entity.UserSearchEnity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrganService {
    PadingRstType<PtOrganEntity> getOrganInfoListByPage(OrganSearchEntity search, PagingBean paging);
    void delOrganByUuid(String organUuid);
    void bindingByUuid(String organUuid,String parentUuid);
    void unboundByUuid(String organUuid);
    void insertOrgan(String organUuid,String organName,String parentUuid,String DESCRIPTION);
    void updateOrgan(String organUuid,String organUuidUpdate,String organName,String parentUuid,String DESCRIPTION);
    PtOrganEntity selectSearchOrganEntityByOrganUuid(String organUuid);
    List<ZtreeEntity> getOrganZtreeList();

}
